package com.web.exiaodao.business.entity;

import com.web.exiaodao.remote.service.ApiConfigurationTableService;
import com.web.webstart.base.entity.BaseEntity;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author eason
 * @ClassName: configurationTable
 * @Description: 配置表定义表
 * @date 2015年3月23日 下午1:00:00
 */
@Entity
@Table(name = "tb_xa_configurationtable")
@ApiModel(value = "配置表定义表")
public class ConfigurationTable extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "每次抽奖需要的亲和币,每次抽奖需要的亲和币")
    private Integer signin_lottery_coin_per;
    @ApiModelProperty(value = "中奖率,中奖率的分母；1：100%中奖，5：20%中奖；（如：winningRate=5,就生成[1,5]的随机数，如果是1就中奖；[2-12]的随机数，是几就中几等奖）")
    private Integer signin_winningRate;
    @ApiModelProperty(value = "多少亲和币兑换1RMB,多少亲和币兑换1RMB")
    private Integer signin_inance_expr_coin;
    @ApiModelProperty(value = "公司简介,公司简介")
    private String cmp_intro;
    @ApiModelProperty(value = "公司电话,公司电话")
    private String cmp_cellPhone;
    @ApiModelProperty(value = "公司地址,公司地址")
    private String cmp_address;
    @ApiModelProperty(value = "客服电话")
    private String serviceTel;
    /**
     * 签到规则参加{@link ApiConfigurationTableService}的 signMoneyByCheckCount 方法
     */
    @ApiModelProperty(value = "首签获亲币/天,每天签到赚钱的亲和币(首次签到)")
    private Double income_expenses_signin_coin;
    @ApiModelProperty(value = "连续签到等差增亲币数量")
    private Integer income_expenses_signin_asc_coin;
    @ApiModelProperty(value = "每次做任务赚钱的亲和币,每次做任务赚钱的亲和币")
    private Double income_expenses_task_coin;
    @ApiModelProperty(value = "评论赚取的亲和币,评论赚取的亲和币")
    private Double income_expenses_commet_coin;
    @ApiModelProperty(value = "评论赚取的亲和币,评论赚取的亲和币")
    private Double income_expenses_share_coin;
    @ApiModelProperty(value = "留言赚取的亲和币,留言赚取的亲和币")
    private Double income_expenses_LeaveMessage_coin;
    @ApiModelProperty(value = "义工经历赚取的亲和币,义工经历赚取的亲和币")
    private Double income_expenses_nurseExperience_coin;
    @ApiModelProperty(value = "每次抽奖任务额外奖励的亲币")
    private Double income_expenses_lottery_task_coin;
    @ApiModelProperty(value = "观看视频每秒钟获取的亲币")
    private Double income_expenses_watch_viedo_coin;
    @ApiModelProperty(value = "注册送亲币数")
    private Integer income_register_coin;
    @ApiModelProperty(value = "推荐他人送亲币数")
    private Integer income_recommend_coin;

    @ApiModelProperty(value = "一级分销比例,一级分销比例，比如2%；取值范围0-1 或者说0.001 到 1；")
    private Double distribution1Rate;
    @ApiModelProperty(value = "二级分销比例,二级分销比例，比如0.5%；取值范围0-1 或者说0.001 到 1；")
    private Double distribution2Rate;
    @ApiModelProperty(value = "成为vip价格；成为vip价格")
    private Double vipPrice;

    public void setSignin_lottery_coin_per(Integer signin_lottery_coin_per) {
        this.signin_lottery_coin_per = signin_lottery_coin_per;
    }

    @Column(nullable = true, length = 50)
    public Integer getSignin_lottery_coin_per() {
        return signin_lottery_coin_per;
    }

    public void setSignin_winningRate(Integer signin_winningRate) {
        this.signin_winningRate = signin_winningRate;
    }

    @Column(nullable = true, length = 50)
    public Integer getSignin_winningRate() {
        return signin_winningRate;
    }

    public void setSignin_inance_expr_coin(Integer signin_inance_expr_coin) {
        this.signin_inance_expr_coin = signin_inance_expr_coin;
    }

    @Column(nullable = true, length = 50)
    public Integer getSignin_inance_expr_coin() {
        return signin_inance_expr_coin;
    }

    public void setCmp_intro(String cmp_intro) {
        this.cmp_intro = cmp_intro;
    }

    @Column(nullable = true, length = 2000, columnDefinition = "MEDIUMTEXT")
    public String getCmp_intro() {
        return cmp_intro;
    }

    public void setCmp_cellPhone(String cmp_cellPhone) {
        this.cmp_cellPhone = cmp_cellPhone;
    }

    @Column(nullable = true, length = 50)
    public String getCmp_cellPhone() {
        return cmp_cellPhone;
    }

    public void setCmp_address(String cmp_address) {
        this.cmp_address = cmp_address;
    }

    @Column(nullable = true, length = 2000)
    public String getCmp_address() {
        return cmp_address;
    }

    public void setIncome_expenses_signin_coin(Double income_expenses_signin_coin) {
        this.income_expenses_signin_coin = income_expenses_signin_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_signin_coin() {
        return income_expenses_signin_coin;
    }

    public void setIncome_expenses_task_coin(Double income_expenses_task_coin) {
        this.income_expenses_task_coin = income_expenses_task_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_task_coin() {
        return income_expenses_task_coin;
    }

    public void setIncome_expenses_commet_coin(Double income_expenses_commet_coin) {
        this.income_expenses_commet_coin = income_expenses_commet_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_commet_coin() {
        return income_expenses_commet_coin;
    }

    public void setIncome_expenses_LeaveMessage_coin(Double income_expenses_LeaveMessage_coin) {
        this.income_expenses_LeaveMessage_coin = income_expenses_LeaveMessage_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_LeaveMessage_coin() {
        return income_expenses_LeaveMessage_coin;
    }

    public void setIncome_expenses_nurseExperience_coin(Double income_expenses_nurseExperience_coin) {
        this.income_expenses_nurseExperience_coin = income_expenses_nurseExperience_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_nurseExperience_coin() {
        return income_expenses_nurseExperience_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_share_coin() {
        return income_expenses_share_coin;
    }

    public void setIncome_expenses_share_coin(Double income_expenses_share_coin) {
        this.income_expenses_share_coin = income_expenses_share_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_lottery_task_coin() {
        return income_expenses_lottery_task_coin;
    }

    public void setIncome_expenses_lottery_task_coin(Double income_expenses_lottery_task_coin) {
        this.income_expenses_lottery_task_coin = income_expenses_lottery_task_coin;
    }

    @Column(nullable = true, length = 50)
    public Double getIncome_expenses_watch_viedo_coin() {
        return income_expenses_watch_viedo_coin;
    }

    public void setIncome_expenses_watch_viedo_coin(Double income_expenses_watch_viedo_coin) {
        this.income_expenses_watch_viedo_coin = income_expenses_watch_viedo_coin;
    }

    @Column(nullable = true, length = 50)
    public String getServiceTel() {
        return serviceTel;
    }

    public void setServiceTel(String serviceTel) {
        this.serviceTel = serviceTel;
    }

    @Column(nullable = true, length = 50)
    public Integer getIncome_expenses_signin_asc_coin() {
        return income_expenses_signin_asc_coin;
    }

    public void setIncome_expenses_signin_asc_coin(Integer income_expenses_signin_asc_coin) {
        this.income_expenses_signin_asc_coin = income_expenses_signin_asc_coin;
    }

    @Column(nullable = true, length = 50)
    public Integer getIncome_register_coin() {
        return income_register_coin;
    }

    public void setIncome_register_coin(Integer income_register_coin) {
        this.income_register_coin = income_register_coin;
    }

    @Column(nullable = true, length = 50)
    public Integer getIncome_recommend_coin() {
        return income_recommend_coin;
    }

    public void setIncome_recommend_coin(Integer income_recommend_coin) {
        this.income_recommend_coin = income_recommend_coin;
    }

    public void setDistribution1Rate(Double distribution1Rate) {
        this.distribution1Rate = distribution1Rate;
    }

    @Column(nullable = true, length = 50)
    public Double getDistribution1Rate() {
        return distribution1Rate;
    }

    public void setDistribution2Rate(Double distribution2Rate) {
        this.distribution2Rate = distribution2Rate;
    }

    @Column(nullable = true, length = 50)
    public Double getDistribution2Rate() {
        return distribution2Rate;
    }

    @Column(nullable = true, length = 50)
    public Double getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(Double vipPrice) {
        this.vipPrice = vipPrice;
    }
}
